<%--
  Created by IntelliJ IDEA.
  User: TianyuChen
  Date: 2020/4/1
  Time: 13:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <script type="text/javascript">
        $(function(){
            $("#privilege_submit").click(function(){
                var arr =$('#privilege_tree').tree('getChecked', ['checked','indeterminate']);
                var result = "";
                for(var i = 0;i<arr.length;i++){
                    result+=arr[i].text+"  ";
                }
                alert(result);
            });
        })
    </script>

    <form id="privilege_form" method="post">
        <input type="hidden" name="rid"/>
        角色名称:<input type="text" name=""/> 角色排序ID:<input type="text" name=""/><br/>
        菜单导航：<ul id="privilege_tree"></ul>
        <a id="privilege_submit" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'">提交</a>
    </form>
</body>
</html>
